package com.jz.community.basecomm.bean.baseCommInfo;

/**
 * Created by Tony.Fan on 2018/7/20 10:37
 * 分页 基类
 */
public class PageInfo {
    /**
     * size : 10
     * totalElements : 12
     * totalPages : 2
     * number : 1
     */

    private int size;
    private int totalElements;
    private int totalPages;
    private int number;

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotalElements() {
        return totalElements;
    }

    public void setTotalElements(int totalElements) {
        this.totalElements = totalElements;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }
}
